YUI GRIDS CSS

更新时间:2021-12-31 13:59

YUI Grids CSS是最著名的CSS框架之一,是由Yahoo开发小组开发而成。

YUI Grids CSS为开发者提供了预先设置的四种不同页面宽度,六种不同的模板。

有国外作者曾指出YUI Grids CSS中最值得学习的网格布局CSS写法:

1、负Margin技术

2、使用度量单位em

3、清除布局的浮动

The foundational YUI Grids CSS offers four preset page widths, six preset templates, and the ability to stack and nest subdivided regions of two, three, or four columns. The 4kb file provides over 1000 page layout combinations. Other features include:

Supports fluid-width (100%) layouts as well as preset fixed-width layouts at 750px, 950px, and 974px, and the ability to easily customize to any number.

Supports easy customization of the width for fixed-width layouts.

Flexible in response to user initiated font-size adjustments.

Template columns are source-order independent, so you can put your most important content first in the markup layer for improved accessibility and search engine optimization (SEO).

Self-clearing footer. No matter which column is longer, the footer stays at the bottom.

Layouts less than 100% are automatically centered.

Accommodates IAB's Ad Unit Guidelines for common ad dimensions.

Offers full A-grade browser support.

免责声明
隐私政策
用户协议
目录 22
0{{catalogNumber[index]}}. {{item.title}}
{{item.title}}